package JavaGuide.reflect;


import org.springframework.context.annotation.Bean;

public class Config {
    @Bean
    public Address address(){
        return new Address("9090","123456");
    }
    @Bean
    public Customer customer(){
        return new Customer("gengao","gengao@qq.com");

    }
    public Message message(){
        return new Message("Hi there");

    }

}
